#ifndef MINITOUCH_H
#define MINITOUCH_H

#include <QObject>
#include <QMutex>

class MiniTouch : public QObject
{
    Q_OBJECT
public:
    explicit MiniTouch(QObject *parent = nullptr);
    static MiniTouch* getInstance();
    int prepare();

signals:

public slots:

private:
    static QMutex mutex;
    static QAtomicPointer<MiniTouch> instance;

};

#endif // MINITOUCH_H
